package se.liu.oschi129.world.model;

import java.util.TimerTask;

/**
 * This is a timer task used to update the world.
 * 
 * @author oschi129
 */
public class WorldTimer extends TimerTask {
	
	private World world;
	
	public WorldTimer(World world) {
		this.world = world;
	}
	
	public void run() {
		world.performStepAction();
	}
	
}
